package org.example.comsumer;


import org.example.framework.ProxyFactory;
import org.example.provider.api.HelloService;

import java.util.ArrayList;
import java.util.List;

public class Consumer {

    public static void main(String[] args) {
        List<String> tags = new ArrayList<>();
        tags.add("A");

        HelloService service = ProxyFactory.getProxy(HelloService.class,"",tags);
        String result = service.sayHello("不是王总");
        System.out.println(result);
    }
}
